package com.shoppingCart.controller;

import com.shoppingCart.VO.ResultVO;
import com.shoppingCart.form.OrderForm;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;
import java.util.Map;

/**
 * create By lihao
 */
@Slf4j
@RestController
@RequestMapping("/order")
public class OrderController {
    @PostMapping(value = "/create")
    public ResultVO<Map<String, String>> create(@Valid OrderForm orderForm, BindingResult bindingResult) {
        return null;
    }

}
